package com.td.evo.log;

import com.krakers.evo.obj.DNA;
import com.td.core.obj.TDMap;

public class TDEvolutionLogic implements TDMap {
	
	public static final int TOWERS = 5;
	
	private static final int X = BLD_X/2;
	private static final int Y = BLD_Y/2;
	
	public static String printDNA(DNA dna) {
		StringBuilder sb = new StringBuilder();
		
		for(int i = 0; i < Y; i++) {
			for(int j = 0; j < X; j++) {
				sb.append(dna.getGene(15 * i + j));
				sb.append(" ");
			}
			sb.append("\n");
		}
		
		return sb.toString();
	}
}
